from django.contrib import admin
from .models import Menu, Commodity, Column, CommodityDetail


# Register your models here.
class MenuAdmin(admin.ModelAdmin):
    class Meta:
        model = Menu
        fields = '__all__'


class ColumnAdmin(admin.ModelAdmin):
    class Meta:
        model = Column
        fields = '__all__'


class CommodityAdmin(admin.ModelAdmin):
    class Meta:
        model = Commodity
        fields = '__all__'


class CommodityDetailAdmin(admin.ModelAdmin):
    class Meta:
        model = CommodityDetail
        fields = '__all__'


admin.site.register(Menu, MenuAdmin)
admin.site.register(Column, ColumnAdmin)
admin.site.register(Commodity, CommodityAdmin)
admin.site.register(CommodityDetail, CommodityDetailAdmin)
